expect-lite software package provides quick and easy command line automation tool, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install expect-lite
expect-lite is installed in your system.
Make ensure the expect-lite package were installed using the commands given below,
$ sudo dpkg-query -l | grep expect-lite *
You will get with expect-lite package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Interpreters |
| Package | expect-lite |
| Version | 4.9.0-0ubuntu1 |
| Description | quick and easy command line automation tool |
| Sub Section | Interpreters |